<div class="hidden OptionTitle">新增客户</div>
<div class="hidden OptionBtn">保存</div>
<form role="form" method="post" action="{:U('insert')}" class="checkoutform">
  <div class="form-group text-input">
    <label for="email">客户名称</label>
    <input class="form-control" datatype="*" id="title" name="title" placeholder="客户名称" type="text">
  </div>
  <div class="form-group text-input opacity opacityb">
    <label for="category">客户分类</label>
    <div>
      <volist name="candy" id="candy">
        <label class="checkbox-line" style="margin-right:10px"><input type="checkbox" name="customercategory_id[]" value="@{$candy.id}@"><span>{$candy.name}</span></label>
      </volist>
    </div>
  </div>
  <div class="form-group text-input">
    <label for="email">联系人</label>
    <input class="form-control" datatype="*" id="contacts" name="contacts" placeholder="联系人" type="text">
  </div>
  <div class="form-group text-input">
    <label for="email">手机号码</label>
    <input class="form-control" datatype="m" id="mobile" name="mobile" placeholder="手机号码" type="text">
  </div>
  <div class="form-group text-input">
    <label for="email">联系电话</label>
    <input class="form-control" datatype="*" id="tel" name="tel" placeholder="联系电话" type="text">
  </div>
  <div class="form-group text-input">
    <label for="email">QQ</label>
    <input class="form-control" datatype="*" id="QQ" name="QQ" placeholder="QQ" type="text">
  </div>
  <div class="form-group text-input">
    <label for="email">微信号</label>
    <input class="form-control" datatype="*" id="weixin" name="weixin" placeholder="微信" type="text">
  </div>
  <div class="form-group text-input">
    <label for="email">公司地址</label>
    <textarea name="address" class="form-control" style="height:50px;" placeholder="公司地址"></textarea>
  </div>
</form>